package com.soup.common.module.sys.entity;

import com.soup.common.constant.CommonConstant;
import com.soup.common.entity.BaseEntity;
import lombok.Data;

import javax.persistence.Table;

/**
 * 系统角色菜单关系模型
 *
 * @author zhaoyi
 */
@Data
@Table(name = CommonConstant.SYS_ROLE_MENU)
public class RoleMenu extends BaseEntity {

    /**
     * 角色id
     */
    private Integer roleId;

    /**
     * 菜单id
     */
    private Integer menuId;
}
